<?php
/*
single post template: event
Description: This part is optional, but helpful for describing the Post Template
*/

?>

<? include 'header.php'; ?>
<body><div class="header">
    <ul>
          <li class="f">
        <div class="logo"> <a href="index.html"><img  src="<?php echo get_template_directory_uri ();?>/images/Mahally-logo.png" /> </a></div>
      </li>
          <li class="f-r">
        <div class="menu ">
              <div class="search f-r">
            <div class="search-warper"> search
                  <input name="search-txt" class="search-txt" id="search" >
                  </textarea>
                </div>
          </div>
              <div class="clearfix"> </div>
              <ul>
            <?php

				$defaults = array(
					'theme_location'  => '',
					'menu'            => '',
					'container'       => 'ul',
					'container_class' => '',
					'container_id'    => '',
					'menu_class'      => 'f',
					'menu_id'         => '',
					'echo'            => true,
					'fallback_cb'     => 'wp_page_menu',
					'before'          => '',
					'after'           => '',
					'link_before'     => '', 
					'link_after'      => '',
					'items_wrap'      => '%3$s',
					'depth'           => 0,
					'walker'          => ''
				);
				
				wp_nav_menu( $defaults );
				
				?>
          </ul>
            </div>
      </li>
        </ul>
  </div>
<div class="container">

<ul>
  <li class="f">
    <div class="sidebar f">
    <div class="design"><img src="<?php echo get_template_directory_uri ();?>/images/SHOW-ROOM.png"/> </div>
    <div id="embeddedExample" style="">
          <div class="calander"><div class="pic"> <img src="<?php echo get_template_directory_uri ();?>/images/calnder.png" /></div>
          <br />
        <div id="calendar"> </div>
        <br />
        <div id="embeddedDateField" class="dateField"> </div>
        <br />
      </div>
        </div>
    
    
    <!--<div class="social-icons ">
      <ul>
        <li class="f"> <a href="#"> <img src="images/twtr.png" /> </a> </li>
        <li class="f"> <a href="#"> <img src="images/fb.png" /> </a> </li>
        <li class="f"> <a href="#"> <img src="images/pin.png" /> </a> </li>
      </ul>
    </div>-->
  </li>
  <li class="f-r">
  



<? wp_reset_query();$post = get_post();?>

    <div class="content">
    <div class="top"> </div>
    <div class="middle-events">
    <? setup_postdata($post); ?> 
    <div class="event-single-content"><?php the_post_thumbnail();?>
      <div class="date-bg f">
        <p><?php the_time('j'); ?></p>
      </div>
      <h2><?php the_title(); ?></h2>
      <h3><?php the_time('F,Y'); ?> </h3>
      <p> 
      <? remove_filter ('the_content',  'wpautop'); the_content(); ?>
      <? the_content(); ?>
    </p>
     
    </div>
  </div>
  <div class="bottom"> </div>
  
  </div>
  </li>
</ul>
</div>
<? include 'footer.php'; ?>
